﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace XNAGame_Lab1
{
    public class HP : MyXNAButton
    {
        int _HPChar;
        int _HPStart;

        public int HPStart
        {
            get { return _HPStart; }
            set { _HPStart = value; }
        }

        public int HPChar
        {
            get { return _HPChar; }
            set { _HPChar = value; }
        }
        public HP(ContentManager content, List<string> strTexture, int nSprites, Vector2 topleft, Vector2 size,int hp):base (content,strTexture,nSprites,topleft,size)
        {
            this._HPChar = hp;
            HPStart = HPChar;

        }
        public HP(ContentManager content, string refix, int nSprites, Vector2 topleft, Vector2 size,int hp)
            : base(content, refix, nSprites, topleft, size)
        {
            _HPChar = hp;
            HPStart = HPChar;
        }
    }
}
